package com.wlhse.dao;

import com.wlhse.dto.inDto.OversightInDto;
import com.wlhse.dto.outDto.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface OversightDao {
    //按单位分析监督业绩
    List<OversightByCompanyOutDto> queryOversightByCompany(OversightInDto oversightInDto);
    //按人分析监督业绩
    List<OversightByEmployeeOutDto> queryOversightByEmployee(OversightInDto oversightInDto);
    //查询按人分析监督业绩结果总数
    //查询按人分析监督业绩结果总数
    Integer queryTotalOversightByEmployee(OversightInDto oversightInDto);
    //查询按单位分析监督业绩结果总数
    Integer queryTotalOversightByCompany(OversightInDto oversightInDto);
    //分析任务工序
    List<EchartTaskAndProcessOutDto> queryEchartTaskAndProcess(OversightInDto oversightInDto);
    //分析责任人性质
    List<EchartResponseEmpOutDto> queryEchartResponseEmp(OversightInDto oversightInDto);
    //查询数据库所有的问题统计
    HomeProblemOutDto queryHomeProblemOutDto();
    //首页的问题季度统计
    List<HomeSeasonOutDto> queryHomeSeasonOutDto(@Param("currentYear") String currentYear);
}
